<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/header.jsp" %>
<script>

   var scripts = [null, null]
   $('.page-content-area').ace_ajax('loadScripts', scripts, function() {
	   Orginput.init($("#dictOrgId"),{defaultOrgId:"",defaultOrgName:"",
   		afterSelect: function() {
   		}
   });  
   });
			//查询列表
		  	$("#queryDict").click(function(){
		  		var dictParams = $("#dict_info_form").serialize();
		  		$("#dictListIframe").show();
		  		$("#dictListIframe").load("${ctx}/dict/list.do",dictParams);
		  	});
			
		    //清空查询条件
			$("#resetVal").click(function(){
				$("#").val("");
				$("#endTimes").val("");
				$("#authStatuss").val("");
			});
			
			$.widget("ui.dialog", $.extend({}, $.ui.dialog.prototype, {
				_title: function(title) {
					var $title = this.options.title || '&nbsp;'
					if( ("title_html" in this.options) && this.options.title_html == true )
						title.html($title);
					else title.text($title);
				}
			}));  
			
		
</script>
<div class="row">
	<div class="col-xs-12">	
		<div class="widget-box widget-color-blue2">			
			<div class="widget-header">
				<h5 class="widget-title">字典查询</h5>
				<!-- #section:custom/widget-box.toolbar -->
				<div class="widget-toolbar">
					<a href="#" data-action="fullscreen" class="orange2"><i class="ace-icon fa fa-expand"></i></a>
					<a href="#" data-action="collapse"><i class="ace-icon fa fa-chevron-up"></i></a>
					<a href="#" data-action="close"><i class="ace-icon fa fa-times"></i></a>
				</div>
				<!-- /section:custom/widget-box.toolbar -->
			</div>
			<div class="widget-body">
				<div class="widget-main no-padding">				
                    <form id="dict_info_form" name="dict_info_form" class="form-horizontal">
		                 <fieldset>
						    <div class="row">
						    	<div class="form-group col-xs-6">
									<label class="col-sm-3 control-label no-padding-left" for="dictType">字典编码:</label>
									<div class="col-sm-9">
											<input type="text" id="dictType" name="dictType"  class="col-xs-10"  />
									</div>
								</div>
								<div class="form-group col-xs-6">
									<label class="col-sm-3 control-label no-padding-left" for="dictDesc">字典描述:</label>
									<div class="col-sm-9">
									 <input type="text" id="dictDesc" name="dictDesc"  class="col-xs-10"/>
									</div>
								</div>							
							</div>
						</fieldset>
				
				<div class="form-actions center">
					<button class="btn btn-sm btn-info" type="button" id="queryDict">
						<i class="icon-on-right ace-icon fa fa-search bigger-110"></i>
						查询
					</button>
					&nbsp; &nbsp; &nbsp;
					<button class="btn btn-sm" type="reset" id="resetVal">
						<i class="ace-icon fa fa-refresh bigger-110"></i>
						重置
					</button>
				</div>
				
		</form>
				</div>
			</div>
		</div>
	</div>
</div>
	<br>
